# ESP-IDF Component CMakeLists.txt for kissfft

idf_component_register(
    SRCS 
        "kiss_fft.c"
        "kfc.c"
        "kiss_fftnd.c"
        "kiss_fftndr.c"
        "kiss_fftr.c"
    INCLUDE_DIRS "."
)

# Set compile definitions for float datatype (default)
target_compile_definitions(${COMPONENT_LIB} PUBLIC kiss_fft_scalar=float)